package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CC_ARRANGE database table.
 * 
 */
@Entity
@Table(name="CC_ARRANGE")
@NamedQuery(name="CcArrange.findAll", query="SELECT c FROM CcArrange c")
public class CcArrange implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_ARRANGE_ARRANGEID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_ARRANGE_ARRANGEID_GENERATOR")
	private long arrangeid;

	private BigDecimal acostid;

	private BigDecimal adoctorid;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	private Date arrdate;

	private BigDecimal arrdoctorrid;

	private String astate;

	private BigDecimal asurgeryid;

	@Column(name="\"CCSID\"")
	private BigDecimal ccsid;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	private Date fixdate;

	private BigDecimal suntime;

	public CcArrange() {
	}

	public long getArrangeid() {
		return this.arrangeid;
	}

	public void setArrangeid(long arrangeid) {
		this.arrangeid = arrangeid;
	}

	public BigDecimal getAcostid() {
		return this.acostid;
	}

	public void setAcostid(BigDecimal acostid) {
		this.acostid = acostid;
	}

	public BigDecimal getAdoctorid() {
		return this.adoctorid;
	}

	public void setAdoctorid(BigDecimal adoctorid) {
		this.adoctorid = adoctorid;
	}

	public Date getArrdate() {
		return this.arrdate;
	}

	public void setArrdate(Date arrdate) {
		this.arrdate = arrdate;
	}

	public BigDecimal getArrdoctorrid() {
		return this.arrdoctorrid;
	}

	public void setArrdoctorrid(BigDecimal arrdoctorrid) {
		this.arrdoctorrid = arrdoctorrid;
	}

	public String getAstate() {
		return this.astate;
	}

	public void setAstate(String astate) {
		this.astate = astate;
	}

	public BigDecimal getAsurgeryid() {
		return this.asurgeryid;
	}

	public void setAsurgeryid(BigDecimal asurgeryid) {
		this.asurgeryid = asurgeryid;
	}

	public BigDecimal getCcsid() {
		return this.ccsid;
	}

	public void setCcsid(BigDecimal ccsid) {
		this.ccsid = ccsid;
	}

	public Date getFixdate() {
		return this.fixdate;
	}

	public void setFixdate(Date fixdate) {
		this.fixdate = fixdate;
	}

	public BigDecimal getSuntime() {
		return this.suntime;
	}

	public void setSuntime(BigDecimal suntime) {
		this.suntime = suntime;
	}

}